
export interface UserState {
  account: user.UserInfo|null,
  token: string,
  cookie: string,
  authPageList: Array<string>,
  authBtnList: Array<string>
}

// 布局配置
export interface ThemeConfigState {
	themeConfig: {
		globalI18n: string,
    animation: string,
    isRequestRoutes: boolean
	};
}

// 路由缓存列表
export interface KeepAliveNamesState {
	keepAliveNames: Array<string>
}

// 路由列表
export interface RoutesListState {
	routesList: Array<object>;
}

// 后端返回原始路由(未处理时)
export interface RequestOldRoutesState {
	requestOldRoutes: Array<object>;
}
export interface RootStateTypes {
	user: UserState,
  routesList: RoutesListState;
  keepAliveNames: KeepAliveNamesState,
  themeConfig: ThemeConfigState,
  requestOldRoutes: RequestOldRoutesState
}